/** <a href="http://www.cpupk.com/decompiler">Eclipse Class Decompiler</a> plugin, Copyright (c) 2017 Chen Chao. **/
package com.minierp.service;

import com.minierp.bean.PurchaseBillBean;
import com.minierp.bean.UserBean;
import com.minierp.dao.AdjustBillDao;
import com.minierp.dao.BankAccountBalanceDao;
import com.minierp.dao.BankAccountDetailDao;
import com.minierp.dao.FinanceDetailDao;
import com.minierp.dao.IdGenerator;
import com.minierp.dao.PayBillDao;
import com.minierp.dao.PurchaseBillDao;
import com.minierp.dao.PurchaseBillItemDao;
import com.minierp.dao.SerialNumberDao;
import com.minierp.dao.StockBalanceDao;
import com.minierp.dao.StockDao;
import com.minierp.err.StockNoEnoughException;
import com.minierp.model.CodeRule;
import com.minierp.model.EnterpriseInfo;
import com.minierp.model.PurchaseBill;
import com.minierp.model.PurchaseBillItem;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;

public interface PurchaseBillService {
	void txInsert(PurchaseBillBean arg0, String arg1, UserBean arg2,
			EnterpriseInfo arg3, PurchaseBillDao arg4,
			PurchaseBillItemDao arg5, BankAccountBalanceDao arg6,
			StockDao arg7, StockBalanceDao arg8, SerialNumberDao arg9,
			IdGenerator arg10) throws StockNoEnoughException, Exception;

	void txInsertForBegiImpo(PurchaseBill arg0, CodeRule arg1,
			PurchaseBillItem arg2, UserBean arg3, String arg4,
			EnterpriseInfo arg5, PurchaseBillDao arg6, StockDao arg7,
			StockBalanceDao arg8, SerialNumberDao arg9, IdGenerator arg10)
			throws Exception;

	void txUpdate(PurchaseBillBean arg0, String arg1, UserBean arg2,
			EnterpriseInfo arg3, PurchaseBillDao arg4,
			PurchaseBillItemDao arg5, PayBillDao arg6, AdjustBillDao arg7,
			BankAccountBalanceDao arg8, StockDao arg9, StockBalanceDao arg10,
			IdGenerator arg11) throws Exception;

	void txExamine(HttpServletRequest arg0, long arg1, PurchaseBillDao arg3,
			PurchaseBillItemDao arg4, PayBillDao arg5, AdjustBillDao arg6,
			BankAccountBalanceDao arg7, StockDao arg8, StockBalanceDao arg9,
			IdGenerator arg10, UserBean arg11) throws StockNoEnoughException,
			Exception;

	void txUnExamine(HttpServletRequest arg0, long arg1, PurchaseBillDao arg3,
			PurchaseBillItemDao arg4, BankAccountBalanceDao arg5,
			BankAccountDetailDao arg6, StockDao arg7, StockBalanceDao arg8,
			IdGenerator arg9, FinanceDetailDao arg10, UserBean arg11)
			throws StockNoEnoughException, Exception;

	String txCancel(HttpServletRequest arg0, long arg1, String arg3,
			PurchaseBillDao arg4, PurchaseBillItemDao arg5,
			BankAccountBalanceDao arg6, BankAccountDetailDao arg7,
			StockDao arg8, StockBalanceDao arg9, IdGenerator arg10,
			FinanceDetailDao arg11, UserBean arg12)
			throws StockNoEnoughException, Exception;

	void txStoc(HttpServletRequest arg0, long arg1, Date arg3,
			PurchaseBillItemDao arg4, StockDao arg5, StockBalanceDao arg6,
			IdGenerator arg7, UserBean arg8) throws StockNoEnoughException,
			Exception;

	void txUnStoc(HttpServletRequest arg0, long arg1, PurchaseBillItemDao arg3,
			StockDao arg4, StockBalanceDao arg5, IdGenerator arg6, UserBean arg7)
			throws Exception;
}